#renaming the params column is the event table, so I don't need to overload the accessor methods.

class RenameEventParamsColumns < ActiveRecord::Migration
  def self.up
    rename_column :events, :calculation_params, :serialized_calculation_params
    rename_column :events, :conversion_params, :serialized_conversion_params
  end

  def self.down
    rename_column :events, :serialized_calculation_params, :calculation_params
    rename_column :events, :serialized_conversion_params, :conversion_params
  end
end
